package com.wxyzz.common.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("comment")
public class Comment {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private Integer aid;         //文章的id
    private Integer uid;         //评论文章的用户id
    private String  commentInfo; //评论信息
    private Date    createTime;
    private Date    updateTime;

}
